package client;

import service.TransferService;
import service.impl.TransferServiceImpl;

public class TransferTest {
    public static void main(String[] args) {
        TransferService service = new TransferServiceImpl();
        try {
            if (service.transfer("1", "2", 5000)) {
                System.out.println("转账成功");

            } else {
                System.out.println("转账失败");
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

